Skip to main content

autoHilite

Type

property

Summary

Specifies whether a PowerButton widget highlights when it's pressed.

Syntax

set the autoHilite of widget to {true | false}

Description

Use the autoHilite property to give visual feedback to users when they click a PowerButton widget. If a PowerButton widget's autoHilite property is true, clicking it changes its appearance. This provides visual feedback to the user. The PowerButton remains hilited while the mouse is within it and the mouse button is down. If the user moves the mouse outside the widget while keeping the mouse button depressed, the widget becomes unhilited. If the user then moves the mouse back over the widget, the widget becomes hilited again. While the PowerButton is hilited, its hilite property is also set to true. If the PowerButton's isToggle property is true, clicking it switches its hilite property value.

Examples

set the autoHilite of widget "Button" to true

Compatibility and Support

OS

mac

windows

linux

ios

android

web

Platforms

desktop

mobile